package com.whz.streamdemo;

import com.google.common.collect.ImmutableList;
import lombok.extern.slf4j.Slf4j;

import java.util.List;
import java.util.stream.Stream;

/**
 * @Author: sinosoft
 * @Description:
 * @Date: Create in 20:09 2021/5/18
 * @Modified By:
 */
@Slf4j
public class SubListsMainTest {
    public static void main(String[] args) {
        Stream<List<String>> listStream = SubLists.of(ImmutableList.of("a", "b", "c"));
        listStream.forEach(System.out::println);
    }
}
